import service from '@/utils/request.js'

export const getBanners = () => {
	return service({
		url: '/banner?type=2'
	})
}

export const getMusicList = () => {
	return service({
		url: '/personalized?limit=10'
	})
}

export const getSearchMusic = kw => {
	return service({
		url: `/cloudsearch?keywords=${kw}`
	})
}